export default {
    username:[
        { required:true, message: '登录名不能为空', trigger: 'blur' },
        { min:4, message: '登录名长度必须大于3', trigger: 'blur' }
    ],
    password:[
        { required:true, message: '登录密码不能为空', trigger: 'blur' },
    ],
    email:[
        { pattern: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, message: '邮箱格式错误', trigger: 'blur' }
    ],
    mobile:[
        { pattern: /^1\d{10}$/ , message: '手机号码格式错误', trigger: 'blur' }

    ]
}